﻿namespace TestApp.Client
{
    using System;
    using JetBrains.Annotations;

    internal sealed class DataEntityViewModel : EntityViewModel, IDataEntityViewModel
    {
        public DataEntityViewModel(
            [NotNull] Func<IEntityParamViewModel> paramFactory)
            : base(paramFactory)
        {
        }

        public int Index { get; set; }

        public override string Name
        {
            get { return string.Format("Entity {0}", Index + 1); }
        }
    }
}
